package com.ymh.service;


import com.ymh.domain.AccountDTO;
import java.math.BigDecimal;

/**
 * @author: 13590
 * @date: 2020/10/27 18:25
 * @description:
 */
public interface AccountService {

  AccountDTO selectByCode(String accountCode);

  AccountDTO updateAccount(AccountDTO accountDTO);

  AccountDTO insertAccount(AccountDTO accountDTO);

  void deleteAccount(String accountCode);

  void reduce(String accountCode, BigDecimal mount);
}
